/**
 * date: 2010-08-30
 */
package com.weipu.common.facade.exception;


/**
 * 自定义异常
 * @author  Administrator
 * @version  [版本号, 2010-08-30]
 * @see  [相关类/方法]
 * @since  [产品/模块版本]
 */
public class DxException extends Exception
{
    /**
     * 注释内容
     */
    private static final long serialVersionUID = -6555356073842721747L;
    
    //错误码
    private String errCode;
    
    public DxException(String errorCode)
    {
        //        TestinAgent.uploadException(DXApplication.getContext(), errorCode, this);
        errCode = errorCode;
    }
    
    public String getErrCode()
    {
        return errCode;
    }
    
    public void setErrCode(String errCode)
    {
        this.errCode = errCode;
    }
    
    @Override
    public String toString()
    {
        return "errCode: " + errCode + super.toString();
    }
    
}
